package com.company;

/**
 * @description:
 * @author: 86133
 * @date: Created in 2020/5/17 17:17
 * @version: ${VERSION}
 * @modified By:
 */
public class Submarine {
    private String Submarineid;

    public Submarine() {
    }

    public Submarine(String submarineid) {
        this.Submarineid = submarineid;
    }

    public String getSubmarineid() {
        return this.Submarineid;
    }

    public void setSubmarineid(String submarineid) {
        this.Submarineid = submarineid;
    }

    public void drivingMethod() {
        System.out.println("drive a submarine"+"\t"+this.getSubmarineid());
    }
}
